﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bocom.ICenter.UI.Silverlight.Models
{
    /// <summary>
    /// 线路实体类
    /// </summary>
    public class ClassRouteEntity
    {

        private long _ubiRouteId;
        /// <summary>
        /// 线路流水号  索引ID  如 5
        /// </summary>
        public long ubiRouteId
        {
            get { return _ubiRouteId; }
            set { _ubiRouteId = value; }
        }


        /// <summary>
        /// 
        /// </summary>
        private string _RouteID;

        /// <summary>
        /// 线路名称
        /// </summary>
        private string _routeName;

        /// <summary>
        /// 上行站点数
        /// </summary>
        private int _StationsUpTotal;

        /// <summary>
        /// 站点总数
        /// </summary>
        private int _StationsTotal;

        /// <summary>
        /// 下行站点数
        /// </summary>
        private int _StationsDnTotal;

        /// <summary>
        /// 表示到前一站的距离 _ del
        /// </summary> 
        private double _RouteDistanceUp;


        /// <summary>
        /// 表示到前一站的距离 _ del
        /// </summary>
        private double _RouteDistanceDn;

       
        /// <summary>
        ///表示线路的ID号 
        /// </summary>
        public string RouteID
        {
            get { return _RouteID; }
            set { _RouteID = value; }
        }
       
        /// <summary>
        /// 线路名称
        /// </summary>
        public string RouteName
        {
            get
            {
                return this._routeName;
            }
            set
            {
                this._routeName = value;
            }
        }

        /// <summary>
        /// 表示站点总数 -  del
        /// </summary>     
        public int StationsTotal
        {
            get { return _StationsTotal; }
            set { _StationsTotal = value; }
        }
    
   
        /// <summary>
        /// 上行站点总和
        /// </summary>
        public int StationsUpTotal
        {
            get { return _StationsUpTotal; }
            set { _StationsUpTotal = value; }
        }

      

        /// <summary>
        /// 下行站点总和
        /// </summary>
        public int StationsDnTotal
        {
            get { return _StationsDnTotal; }
            set { _StationsDnTotal = value; }
        }

        /// <summary>
        ///    //表示到前一站的距离 _ del
        /// </summary>      
        public double RouteDistanceUp
        {
            get { return _RouteDistanceUp; }
            set { _RouteDistanceUp = value; }
        }
     
        /// <summary>
        ///   //表示到前一站的距离 _ del
        /// </summary>
        public double RouteDistanceDn
        {
            get { return _RouteDistanceDn; }
            set { _RouteDistanceDn = value; }
        }


        /// <summary>
        /// 线路的站点集合
        /// </summary>
        private List<ClassStationEntity> _StationList = new List<ClassStationEntity>();
        /// <summary>
        /// 线路的站点集合
        /// </summary>
        public List<ClassStationEntity> StationList
        {
            get { return _StationList; }
            set { _StationList = value; }
        } 

        /// <summary>
        /// 线路的车辆信息
        /// </summary>
        private List<ClassBusEntity> _BusInfoList = new List<ClassBusEntity>();
        /// <summary>
        /// 线路的车辆信息
        /// </summary>
        public List<ClassBusEntity> BusInfoList
        {
            get { return _BusInfoList; }
            set { _BusInfoList = value; }
        }

        
       
    }
}
